<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Mapache: Referencia del Archivo Mapache/mainServidor.cpp</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "../../search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../Mapache.png"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mapache&#160;<span id="projectnumber">v1.0.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="../../annotated.html"><span>Clases</span></a></li>
      <li class="current"><a href="../../files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
      <li><a href="../../globals.html"><span>Miembros&#160;de&#160;los&#160;ficheros</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('d8/dd0/mainServidor_8cpp.html','../../');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">'defines'</a> &#124;
<a href="#func-members">Funciones</a>  </div>
  <div class="headertitle">
<h1>Referencia del Archivo Mapache/mainServidor.cpp</h1>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../d8/dcb/Configuracion_8h.html">src/common/configuraciones/Configuracion.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="../../da/d2f/Servidor_8h.html">src/servidor/Servidor.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="../../de/da3/ServidorHttp_8h.html">src/servidor/ServidorHttp.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Dependencia gráfica adjunta para mainServidor.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/de1/mainServidor_8cpp__incl.png" border="0" usemap="#Mapache_2mainServidor_8cpp" alt=""/></div>
<map name="Mapache_2mainServidor_8cpp" id="Mapache_2mainServidor_8cpp">
<area shape="rect" id="node3" href="../../d8/dcb/Configuracion_8h.html" title="src/common/configuraciones/Configuracion.h" alt="" coords="229,315,512,344"/><area shape="rect" id="node33" href="../../da/d2f/Servidor_8h.html" title="src/servidor/Servidor.h" alt="" coords="258,160,410,189"/><area shape="rect" id="node36" href="../../de/da3/ServidorHttp_8h.html" title="src/servidor/ServidorHttp.h" alt="" coords="696,83,874,112"/><area shape="rect" id="node13" href="../../dc/d79/ConfiguracionBasica_8h.html" title="ConfiguracionBasica.h" alt="" coords="36,469,188,499"/><area shape="rect" id="node16" href="../../d8/dc1/ConfiguracionLogs_8h.html" title="ConfiguracionLogs.h" alt="" coords="212,469,353,499"/><area shape="rect" id="node19" href="../../d0/def/TipoEstatico_8h.html" title="TipoEstatico.h" alt="" coords="137,392,244,421"/><area shape="rect" id="node24" href="../../db/d61/TipoDinamico_8h.html" title="TipoDinamico.h" alt="" coords="268,392,380,421"/><area shape="rect" id="node27" href="../../d7/d93/TipoError_8h.html" title="TipoError.h" alt="" coords="466,469,552,499"/><area shape="rect" id="node30" href="../../db/d82/Usuario_8h.html" title="Usuario.h" alt="" coords="576,469,653,499"/><area shape="rect" id="node21" href="../../d8/df0/Tipo_8h.html" title="Tipo.h" alt="" coords="377,469,436,499"/><area shape="rect" id="node38" href="../../d0/d80/Thread_8h.html" title="../common/threads/Thread.h" alt="" coords="1178,315,1365,344"/><area shape="rect" id="node42" href="../../df/df8/TCPSocket_8h.html" title="../common/sockets/TCPSocket.h" alt="" coords="1389,315,1605,344"/><area shape="rect" id="node46" href="../../d4/d95/ManejadorClienteHTTP_8h.html" title="ManejadorClienteHTTP.h" alt="" coords="900,237,1068,267"/><area shape="rect" id="node67" href="../../d8/dbc/AdministradorClientes_8h.html" title="AdministradorClientes.h" alt="" coords="705,160,865,189"/><area shape="rect" id="node51" href="../../dc/d2f/HTTP__Request_8h.html" title="protocoloHTTP/HTTP_Request.h" alt="" coords="637,315,853,344"/><area shape="rect" id="node58" href="../../dd/d55/HTTP__Response_8h.html" title="protocoloHTTP/HTTP_Response.h" alt="" coords="877,315,1104,344"/><area shape="rect" id="node55" href="../../d5/d61/HTTP__Message_8h.html" title="HTTP_Message.h" alt="" coords="785,392,913,421"/><area shape="rect" id="node61" href="../../d2/d33/Time_8h.html" title="../utils/Time.h" alt="" coords="940,392,1041,421"/><area shape="rect" id="node72" href="../../de/db1/Mutex_8h.html" title="../common/threads/Mutex.h" alt="" coords="694,237,876,267"/></map>
</div>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
'defines'</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dd0/mainServidor_8cpp.html#aa641ddae2d95eb622d2e244ca8769829">ERROR_ARGUMENTOS</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dd0/mainServidor_8cpp.html#ac29f90a18f5a5cda2ff76bdb0b5404b1">ERROR_ARCHIVO</a>&#160;&#160;&#160;-1</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Funciones</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dd0/mainServidor_8cpp.html#a7a29781a20c5dd4153c3c1cecf0ff328">main</a> (int argc, char **args)</td></tr>
</table>
<hr/><h2>Documentación de los 'defines'</h2>
<a class="anchor" id="ac29f90a18f5a5cda2ff76bdb0b5404b1"></a><!-- doxytag: member="mainServidor.cpp::ERROR_ARCHIVO" ref="ac29f90a18f5a5cda2ff76bdb0b5404b1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ERROR_ARCHIVO&#160;&#160;&#160;-1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa641ddae2d95eb622d2e244ca8769829"></a><!-- doxytag: member="mainServidor.cpp::ERROR_ARGUMENTOS" ref="aa641ddae2d95eb622d2e244ca8769829" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ERROR_ARGUMENTOS&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentación de las funciones</h2>
<a class="anchor" id="a7a29781a20c5dd4153c3c1cecf0ff328"></a><!-- doxytag: member="mainServidor.cpp::main" ref="a7a29781a20c5dd4153c3c1cecf0ff328" args="(int argc, char **args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><div class="dynheader">
Gráfico de llamadas para esta función:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/dd0/mainServidor_8cpp_a7a29781a20c5dd4153c3c1cecf0ff328_cgraph.png" border="0" usemap="#d8/dd0/mainServidor_8cpp_a7a29781a20c5dd4153c3c1cecf0ff328_cgraph" alt=""/></div>
<map name="d8/dd0/mainServidor_8cpp_a7a29781a20c5dd4153c3c1cecf0ff328_cgraph" id="d8/dd0/mainServidor_8cpp_a7a29781a20c5dd4153c3c1cecf0ff328_cgraph">
<area shape="rect" id="node3" href="../../de/dcb/classConfiguracion.html#a30c27350ca7d7ee9a364d54ee0df9100" title="Configuracion::cargarDesde" alt="" coords="104,752,288,781"/><area shape="rect" id="node65" href="../../d6/d8d/classServidor.html#ae3b002b5e6d2f15733a0b802bcd8e402" title="Servidor::start" alt="" coords="144,1429,248,1459"/><area shape="rect" id="node5" href="../../de/dcb/classConfiguracion.html#a70ac76297c67027a566766110fdd0146" title="Configuracion::cargarConfiguracionBasica" alt="" coords="341,219,608,248"/><area shape="rect" id="node23" href="../../de/dcb/classConfiguracion.html#a9cdcc2cb28180fd8633f093185701766" title="Configuracion::cargarErrores" alt="" coords="381,512,568,541"/><area shape="rect" id="node33" href="../../de/dcb/classConfiguracion.html#a319e7310d4c5b55bd5b4df993cd4cb06" title="Configuracion::cargarLogs" alt="" coords="388,645,561,675"/><area shape="rect" id="node39" href="../../de/dcb/classConfiguracion.html#a48aa52d5f67347c99f8d70296ccd1d1c" title="Configuracion::cargarTiposDinamicos" alt="" coords="355,752,595,781"/><area shape="rect" id="node49" href="../../de/dcb/classConfiguracion.html#a27aba91bfb9e34c3a1cc812bfce45922" title="Configuracion::cargarTiposEstaticos" alt="" coords="359,832,591,861"/><area shape="rect" id="node57" href="../../de/dcb/classConfiguracion.html#a89762d0d2c010ff9edc3476c84668a08" title="Configuracion::cargarUsuarios" alt="" coords="376,992,573,1021"/><area shape="rect" id="node7" href="../../d6/d3c/classConfiguracionBasica.html#a995584c866fc8f1aba7ebcd30375c388" title="ConfiguracionBasica::desproteger" alt="" coords="715,5,933,35"/><area shape="rect" id="node9" href="../../d6/d3c/classConfiguracionBasica.html#a5c05623c423dee92a804d150c17ed3a1" title="ConfiguracionBasica::proteger" alt="" coords="725,59,923,88"/><area shape="rect" id="node11" href="../../d6/d3c/classConfiguracionBasica.html#ac4ff93db06d8c9bad7d2e1d0aa04d62a" title="ConfiguracionBasica::setMaximoConexiones" alt="" coords="683,112,965,141"/><area shape="rect" id="node13" href="../../d6/d3c/classConfiguracionBasica.html#a293ce15506cb48830c9dac1549de1b8d" title="ConfiguracionBasica::setMaximoConexionesCliente" alt="" coords="663,165,985,195"/><area shape="rect" id="node15" href="../../d6/d3c/classConfiguracionBasica.html#a36a6d7ae180ee901f6afb6ae74e1aaee" title="ConfiguracionBasica::setPuerto" alt="" coords="721,219,927,248"/><area shape="rect" id="node17" href="../../d6/d3c/classConfiguracionBasica.html#aa20cd1ccb95b14ce866768f4ed8f370d" title="ConfiguracionBasica::setPuertoControl" alt="" coords="700,272,948,301"/><area shape="rect" id="node19" href="../../d6/d3c/classConfiguracionBasica.html#a07e8187dd6399ad6b2cd96a2de4e437b" title="ConfiguracionBasica::setRaiz" alt="" coords="727,325,921,355"/><area shape="rect" id="node21" href="../../d6/d3c/classConfiguracionBasica.html#a976b4708b2de18d6d890bde9241cb668" title="ConfiguracionBasica::setTimeOut" alt="" coords="715,379,933,408"/><area shape="rect" id="node25" href="../../de/dcb/classConfiguracion.html#a8a4590c54f9c883483fefbdfcacee2f2" title="Configuracion::agregarError" alt="" coords="733,432,915,461"/><area shape="rect" id="node29" href="../../d8/d72/classTipoError.html#ae7286d45aa2049aa5ba8e7c102220e88" title="TipoError::setNroError" alt="" coords="749,485,899,515"/><area shape="rect" id="node31" href="../../d8/d72/classTipoError.html#a25cd622daa06d2038d48388c5586e3be" title="TipoError::setRuta" alt="" coords="760,539,888,568"/><area shape="rect" id="node27" href="../../d8/d72/classTipoError.html#abf76f918932c5dead8bdceb56474769a" title="TipoError::getNroError" alt="" coords="1036,432,1185,461"/><area shape="rect" id="node35" href="../../d9/df9/classConfiguracionLogs.html#a9005b6b27597450582bfe31e64d6c53a" title="ConfiguracionLogs::setRutaLogAccesos" alt="" coords="696,592,952,621"/><area shape="rect" id="node37" href="../../d9/df9/classConfiguracionLogs.html#a584a7efd18483c07727ae2adf617307a" title="ConfiguracionLogs::setRutaLogErrores" alt="" coords="701,645,947,675"/><area shape="rect" id="node41" href="../../de/dcb/classConfiguracion.html#ab7ced212274e9155eec3e02ea6d6f012" title="Configuracion::agregarTipoDinamico" alt="" coords="708,699,940,728"/><area shape="rect" id="node45" href="../../d5/d6a/classTipoDinamico.html#a56f0fbfd586279887dff2c364824f78a" title="TipoDinamico::setComando" alt="" coords="732,752,916,781"/><area shape="rect" id="node47" href="../../d4/d97/classTipo.html#aa5ac3ff9b4943c9dd6940d601681fe13" title="Tipo::setExtension" alt="" coords="759,805,889,835"/><area shape="rect" id="node43" href="../../d4/d97/classTipo.html#af51daec59e0bc09249d6087516ed2447" title="Tipo::getExtension" alt="" coords="1045,779,1176,808"/><area shape="rect" id="node51" href="../../de/dcb/classConfiguracion.html#abd614a5e08862543124434723dde7873" title="Configuracion::agregarTipoEstatico" alt="" coords="711,859,937,888"/><area shape="rect" id="node54" href="../../d5/d9e/classTipoEstatico.html#aa92ced7fbc89ceb1b9cea4cb9f995847" title="TipoEstatico::setContenido" alt="" coords="735,912,913,941"/><area shape="rect" id="node59" href="../../de/dcb/classConfiguracion.html#afe52414348ffd4516bf0cb39e0e86cff" title="Configuracion::agregarUsuario" alt="" coords="725,965,923,995"/><area shape="rect" id="node61" href="../../d1/d07/classUsuario.html#a7e2f38eb2b0e33023ddf5a1594deb954" title="Usuario::setClave" alt="" coords="761,1019,887,1048"/><area shape="rect" id="node63" href="../../d1/d07/classUsuario.html#a2d5cd6407a60984b9e6455547286ecaf" title="Usuario::setNombre" alt="" coords="755,1072,893,1101"/><area shape="rect" id="node67" href="../../dd/d10/classTCPSocket.html#a7e2dd0e88d503cbc41c82330a64f8df4" title="TCPSocket::aceptar" alt="" coords="404,1112,545,1141"/><area shape="rect" id="node71" href="../../dd/d10/classTCPSocket.html#a673e5ea670d221b9385241dd4459c8a1" title="TCPSocket::apagar" alt="" coords="756,1204,892,1233"/><area shape="rect" id="node73" href="../../da/db6/classServidorHttp.html#abfc1f39b6eff69cceccd664466a40d60" title="ServidorHttp::apagar" alt="" coords="404,1216,545,1245"/><area shape="rect" id="node76" href="../../dd/d10/classTCPSocket.html#a6d2efb4f9179b90860994ab1a69406d5" title="TCPSocket::bindear" alt="" coords="405,1269,544,1299"/><area shape="rect" id="node78" href="../../dd/d10/classTCPSocket.html#ac69e30e7c478215652cf9e36f039e260" title="TCPSocket::cerrar" alt="" coords="409,1323,540,1352"/><area shape="rect" id="node80" href="../../d1/dda/classProtocoloControl.html#ab40541d4e0d168c7b757bdeba5c00744" title="ProtocoloControl::enviarRespuestaDetenido" alt="" coords="336,1376,613,1405"/><area shape="rect" id="node84" href="../../dd/d10/classTCPSocket.html#a313dddefda786db1d0c1f83b9ef9697d" title="TCPSocket::escuchar" alt="" coords="400,1429,549,1459"/><area shape="rect" id="node86" href="../../de/dcb/classConfiguracion.html#a20fb9b7ad266b7dbc3ed1d383890917d" title="Configuracion::getConfiguracionBasica" alt="" coords="351,1483,599,1512"/><area shape="rect" id="node88" href="../../d6/d3c/classConfiguracionBasica.html#a7eb64ca4c5655bb222a0b5f763adb75b" title="ConfiguracionBasica::getPuerto" alt="" coords="372,1536,577,1565"/><area shape="rect" id="node90" href="../../d6/d3c/classConfiguracionBasica.html#a358ce98e821f8b86bb1ffeeebbd0480c" title="ConfiguracionBasica::getPuertoControl" alt="" coords="351,1589,599,1619"/><area shape="rect" id="node92" href="../../d0/d51/classThread.html#a4d9d788e98388a3217831a9046709deb" title="Thread::join" alt="" coords="429,1643,520,1672"/><area shape="rect" id="node94" href="../../d0/d51/classThread.html#a7eb2b0cd153514e0678540f019583c98" title="Thread::morir" alt="" coords="425,1696,524,1725"/><area shape="rect" id="node96" href="../../d1/dda/classProtocoloControl.html#a722e3ad421d7ea982a96fd36a484eb98" title="ProtocoloControl::recibirOperacionDetener" alt="" coords="341,1749,608,1779"/><area shape="rect" id="node100" href="../../d0/d51/classThread.html#a1f53ee62bd30a7924186ef26150ce262" title="Thread::start" alt="" coords="427,1803,523,1832"/><area shape="rect" id="node69" href="../../dd/d10/classTCPSocket.html#a7a50427a401d1a6f3209d51818bad901" title="TCPSocket::TCPSocket" alt="" coords="741,1125,907,1155"/><area shape="rect" id="node82" href="../../d1/dda/classProtocoloControl.html#a284ee14b91246db7948f59377bbc55c9" title="ProtocoloControl::enviarCaracter" alt="" coords="719,1376,929,1405"/><area shape="rect" id="node98" href="../../d1/dda/classProtocoloControl.html#a081c693483984bfbac4ff5988b61f147" title="ProtocoloControl::recibirCaracter" alt="" coords="719,1749,929,1779"/><area shape="rect" id="node102" href="../../d0/d51/classThread.html#a9f081cd0e7611680ce792b834d14189a" title="Thread::init" alt="" coords="781,1803,867,1832"/></map>
</div>
</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="../../d8/dd0/mainServidor_8cpp.html">mainServidor.cpp</a>      </li>
      <li class="footer">Generado el Domingo, 20 de Noviembre de 2011 00:38:04 para Mapache por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Clases</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
